package zpf.config;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: ConfigurationOutsideScanPackage
 * @Description: TODO
 * @Autor: ZPF
 * @Date: 2021/1/13 15:35
 **/
//@Configuration
public class ConfigurationOutsideScanPackage {

    @Bean
    public IRule ribbonRule() {
        return new RandomRule();
    }
}
